package com.demo.handphone.handphone;
/**
 * 常量
 * @author wxg
 */
public class Constants {
	/**
	 * 当前版本号
	 */
	public final static int VERSION = 1;
	/**
	 * 修改UI信息
	 */
	public final static String MAIN_UI = "MAIN_UI";
	/**
	 * 修改UI信息--卡号改变
	 */
	public final static int MAIN_UI_CARD_NO = 1;
	/**
	 * 软件升级
	 */
	public final static int MAIN_UI_SOFT_UPDATE = 8;
	/**
	 * 修改UI信息--服务器断开
	 */
	public final static int MAIN_UI_SERVER_DISCONNECT  = 2;
	/**
	 * 打印日志TAG
	 */
	public final static String ACTIVITY_TAG="PDKCheckSystem";
	/**
	 * 卡磁盘
	 */
	public final static String SECTOR = "SECTOR";
	/**
	 * 卡磁盘--卡的第4块存储空间
	 */
	public final static int SECTOR_4 = 4;
	/**
	 * 卡磁盘--卡的第5块存储空间
	 */
	public final static int SECTOR_5 = 5;
	/**
	 * 卡磁盘--卡的第8块存储空间
	 */
	public final static int SECTOR_8 = 8;
	/**
	 * 卡磁盘--卡的第9块存储空间
	 */
	public final static int SECTOR_9 = 9;
	/**
	 * 票状态
	 */
	public final static String TICKET_TYPE = "TICKET_TYPE";
	/**
	 * 票状态--正常
	 */
	public final static String TICKET_TYPE_NORMAL = "0";
	/**
	 * 票状态--退票
	 */
	public final static String TICKET_TYPE_RETUND = "1";
	/**
	 * 同一张卡五秒后才可以检票
	 * public final static int WAIT_SECOND = 5;
	 */

	/**
	 * 修改为2检票
	 */
	public final static int WAIT_SECOND = 5;
	/**
	 * android呼吸灯
	 */
	public final static int ID_LED = 19871103;
	
	/**
	 * 密钥
	 */
	public final static String KEY = "50a11e6013604ec5bbebf207a83941c8";
	
	/**
	 * 卡密钥
	 */
	public final static String CARD_KEY = "123029999";
	
	/**
	 * 请求服务器成功
	 */
	public final static String SUCCESS = "0";
	/**
	 * 请求服务器失败
	 */
	public final static String ERROR = "50001";
	/**
	 * 当天
	 */
	public final static String TODAY = "0";
	/**
	 * 次日
	 */
	public final static String NESTDAY = "1";
	/**
	 * 票启用
	 */
	public final static String TICKET_START = "0";
	/**
	 * 票停用
	 */
	public final static String TICKET_BLOCK = "1";
	/**
	 * 服务器根地址
	 */
	public final static String SERVER_URL = "http://172.16.1.2/";
	/**
	 * apk配置文件地址
	 */
	public final static String UPDATE_SOFT_CONFIG_SERVER_URL = "/upload/soft/version.xml";
	/**
	 * 获取手持机配置信息
	 */
	public final static String GET_PDA_CONFIG_URL = "pdaInterface/getPDAConfig.do";
	/**
	 * 获取票配置信息
	 */
	public final static String GET_TICKET_CONFIG_URL = "pdaInterface/getTicketConfig.do";
	/**
	 * 保存检票信息
	 */
	public final static String SAVE_CHECK_DATA_URL = "pdaInterface/saveCheckData.do";
	/**
	 * 获取最新售票信息
	 */
	public final static String SAVE_SALE_DATA_URL = "pdaInterface/getICSale.do";
	/**
	 * 检票状态 成功
	 */
	public final static String CHECK_SUCCESS = "0";
	/**
	 * 检票状态 失败
	 */
	public final static String CHECK_ERROR = "1";
	/**
	 * 检票状态 其他
	 */
	public final static String CHECK_OTHER = "2";
	/**
	 * 系统自带声音
	 */
	public final static String CHECK_SOUND_DEFAULT = "default";
	/**
	 * 检票成功声音
	 */
	public final static String CHECK_SOUND_SUCCESS = "success";
	/**
	 * 检票失败声音
	 */
	public final static String CHECK_SOUND_ERROR = "error";
	/**
	 * 检票异常声音
	 */
	public final static String CHECK_SOUND_WORING = "check_woring";
	/**
	 * 该票已检声音
	 */
	public final static String CHECK_SOUND_CHECK_TICKET = "check_ticket";
	/**
	 * 服务器已断开声音
	 */
	public final static String CHECK_SOUND_SERVER_DISCONNECT = "serverDisconnect";
	/**
	 * 请检票声音
	 */
	public final static String CHECK_SOUND_PLEASE_CHECK_TICKET = "pleaseCheckTicket";
	/**
	 * 请连接网络声音
	 */
	public final static String CHECK_SOUND_PLEASE_CONNECT_NETWORK = "pleaseConnectNetwork";
	/**
	 * 请前往闸机检票
	 */
	public final static String CHECK_SOUND_PLEASE_GO_GATE = "pleaseGoGate";
	/**
	 * 检票暂停声音
	 */
	public final static String CHECK_SOUND_STOP = "stop";
	/**
	 * 检票无效票声音
	 */
	public final static String CHECK_SOUND_CORTISONE_TICKET = "cortisone_ticket";
	/**
	 * 检票退票声音
	 */
	public final static String CHECK_SOUND_RETURN_TICKET = "return_ticket";
	/**
	 * 编码格式
	 */
	public final static String ENCODE = "UTF-8";
	
}
